#include "rssthread.h"


Thread::Thread(RssFeed *feed, QNetworkReply::NetworkError *code, int timeout) {
    this->feed = feed;
    this->code = code;
    this->timeout = timeout;
}

void Thread::run() {
    *this->code = this->feed->parseFeed(timeout);
}
